package com.one.blocks.common.valid.validator;

/**
 * @author linfuxin Created on 2022-08-16 17:41:36
 */
public interface EnumContainsValid<T> {

    /**
     * 枚举值是否包含val
     *
     * @param val 校验值
     * @return 枚举值包含val返回true，否则返回false
     */
    boolean contains(T val);
}
